#include<KD.h>
#include<KD_LEDMatrix.h>

KD_LEDMatrix ledm;

byte img1[] = {0x0, 0x66, 0xff, 0xff, 0xff, 0x7e, 0x3c, 0x18};
byte img2[] = {0xe0, 0x80, 0x80, 0x18, 0x18, 0x1, 0x1, 0x7};
byte img3[] = {0x18, 0x18, 0x18, 0xff, 0xff, 0x18, 0x18, 0x18};

void setup() 
{
  // DIO->D9, CLK->D6, LE->D5
  ledm.Init(D9, D6, D5);
}

void loop() 
{
  ledm.Display(img1, 1000);
  ledm.Display(img2, 500);
  ledm.Display(img3, 1000);
}